﻿namespace GoodAdmin.System;

public class ExcelConfig
{
    /// <summary>
    /// 文件名.
    /// </summary>
    public string? FileName { get; set; }

    /// <summary>
    /// 标题.
    /// </summary>
    public string? Title { get; set; }

    /// <summary>
    /// 标题字号.
    /// </summary>
    public short TitlePoint { get; set; }

    /// <summary>
    /// 标题高度.
    /// </summary>
    public short TitleHeight { get; set; }

    /// <summary>
    /// 标题字体.
    /// </summary>
    public string? TitleFont { get; set; }

    /// <summary>
    /// 字体景色.
    /// </summary>
    public IndexedColors ForeColor { get; set; }

    /// <summary>
    /// 背景色.
    /// </summary>
    public IndexedColors Background { get; set; }

    /// <summary>
    /// 列头字号.
    /// </summary>
    public short HeadPoint { get; set; }

    /// <summary>
    /// 列标题高度.
    /// </summary>
    public short HeadHeight { get; set; }

    /// <summary>
    /// 列头字体.
    /// </summary>
    public string? HeadFont { get; set; }

    /// <summary>
    /// 是否按内容长度来适应表格宽度.
    /// </summary>
    public bool IsAllSizeColumn { get; set; }

    /// <summary>
    /// 列头设置
    /// </summary>
    public List<ExcelColumnHeaderModel>? ColumnHeaderModel { get; set; }
    /// <summary>
    /// 列设置.
    /// </summary>
    public List<ExcelColumnModel>? ColumnModel { get; set; }
}